package com.yeyks.hotel.dal.dao;

import com.yeyks.hotel.dal.domain.CompanyInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
public interface CompanyInfoMapper extends BaseMapper<CompanyInfo> {

    List<CompanyInfo> selectByAny(@Param("id") int id, @Param("key") String key);

    int deleteByAny(@Param("id") int id, @Param("key") String key);

    int insertReturnId(CompanyInfo record);

    CompanyInfo selectByPrimaryKey(Integer id);

    List<CompanyInfo> selectAll();

    int updateByPrimaryKey(CompanyInfo record);

    int updateByBizName(CompanyInfo param);
}
